import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class ESpiritEquipSuitType
    
    export  class ESpiritEquipSuitType
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeShort(this.__value);
            return;
        }

        public static convert(arg1: int): ESpiritEquipSuitType
        {
            return new ESpiritEquipSuitType(arg1);
        }

        public static __read(arg1: SerializeStream): ESpiritEquipSuitType
        {
            var loc1=arg1.readShort();
            if (loc1 < 0 || loc1 >= 1406) 
            {
                throw new MarshalException();
            }
            return ESpiritEquipSuitType.convert(loc1);
        }

        public static /* const */_ESpiritEquipSuitDragonBlue: int=1300;

        public static /* const */_ESpiritEquipSuitDragonPurple: int=1400;

        public static /* const */_ESpiritEquipSuitTiger: int=1401;

        public static /* const */_ESpiritEquipSuitSuzaku: int=1402;

        public static /* const */_ESpiritEquipSuitBasaltic: int=1403;

        public static /* const */_ESpiritEquipSuitKirin: int=1404;

        public static /* const */_ESpiritEquipSuitChaos: int=1405;

        public /* var */__value: int;
    }
